package first.group.ssh.packet;

import first.group.ssh.SSHConsts;
import java.io.IOException;
import java.nio.ByteBuffer;

public class NewKeysPacket extends Packet {

    public NewKeysPacket() {
        super(SSHConsts.SSH_MSG_NEWKEYS);
    }

    public static PacketParser<NewKeysPacket> PARSER = new Parser();

    private static class Parser extends PacketParser<NewKeysPacket> {

        @Override
        public NewKeysPacket parse(ByteBuffer buffer) throws IOException {
            return new NewKeysPacket();
        }
    }

    @Override
    public void write(ByteBuffer buffer) {}

    @Override
    public String toString() {
        return "NewKeysPacket{}";
    }
}
